﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace AttributesExercises
{
    public class VersionAttribute : System.Attribute
    {
        private string name;
        private string comment;

        public string Name 
        {
            get
            {
                return this.name;
            }
        }

        public string Comment 
        {
            get
            {
                return this.comment;
            }
        }

        public VersionAttribute(string name)
        {
            this.name = name;
        }

        public VersionAttribute(string name, string comment)
            :this(name)
        {
            this.comment = comment;
        }
    }
}
